//
//  GGPermissionsManage.h
//  Brezze
//
//  Created by IOS on 2021/7/6.
//  Copyright © 2021 麦鱼科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^CheckStatus)(void);

@interface GGPermissionsManage : NSObject

+ (void)checkLocationsPer:(CheckStatus)succ faile:(CheckStatus)faile;
+ (void)checkLocationsPer:(CheckStatus)succ faile:(CheckStatus)faile byStatus:(CLAuthorizationStatus)status;

+ (void)checkCameraPer:(CheckStatus)succ faile:(CheckStatus)faile;

+ (void)checkPhotosOpenPer:(CheckStatus)succ faile:(CheckStatus)faile;
+ (void)checkPhotosNotDeterminedr:(CheckStatus)succ faile:(CheckStatus)faile;

+ (void)alerCInit:(NSString *)title subTitle:(NSString *)subTitle cancelTitle:(nullable NSString *)cancelTitle sureTitle:(NSString *)sureTitle cancelBlock:(nullable CheckStatus)cancelBlock sureBlock:(CheckStatus)sureBlock;

@end

NS_ASSUME_NONNULL_END
